package com.duanjw.springcloud.sentinel.provider.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * sentinel consumer feign
 *
 * @author duanjw
 */
@FeignClient(name = "sentinel-consumer", fallback = SentinelConsumerServiceFallback.class)
public interface SentinelConsumerService {
    /**
     * 获取value
     *
     * @return
     */
    @GetMapping("value")
    String getValue();
}
